﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <script src="DDLBar.js" type="text/javascript"></script>
    <script src="../../CCFlowEnum.js" type="text/javascript"></script>
    <script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
    <script src="../../../Scripts/vue.js" type="text/javascript"></script>
    <!-- 自己的系统风格统一. -->
    <link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
    <link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
    <!-- 自己的系统风格统一end -->
</head>
<body>
    <div id="App">
        <div id="bar"> </div>

        <fieldset>
            <legend>请输入用户编号列.</legend>
            <textarea id="RB_ByDtlAsSubThreadEmps" style="width:100%;height:50px" v-show="isShow===1" v-model="byDtlAsSubThreadEmps"></textarea>
        </fieldset>

        <fieldset>
            <legend>说明</legend>
            <ul>
                <li>此方法与分合流相关，只有当前节点是子线程才有意义。 </li>
                <li>当前参数为明细表的字段列，如果不填写，就默认为 UserNo 。</li>
            </ul>
        </fieldset>
    </div>
    <script type="text/javascript">
        var Baseinfo = new Vue({
            el: '#App',
            data: {
                deliverWay: DeliveryWay.ByDtlAsSubThreadEmps,
                byDtlAsSubThreadEmps: '',
                nodeId: GetQueryString("FK_Node"),
                isShow:1
            },
            created() {
                InitBar(this.deliverWay);
                var node = new Entity("BP.WF.Node", this.nodeId);
                if (node.DeliveryWay == DeliveryWay.ByDtlAsSubThreadEmps) {
                    this.byDtlAsSubThreadEmps = node.DeliveryParas;
                }
                if (node.RunModel == RunModel.SubThread)
                    this.isShow = 1;
                else 
                    this.isShow = 0;

            }
        });
        function Save() {
            var node = new Entity("BP.WF.Node", Baseinfo.nodeId);
            node.DeliveryWay = Baseinfo.deliverWay;
            node.DeliveryParas = Baseinfo.byDtlAsSubThreadEmps;
            node.Update();
        }
    </script>
</body>
</html>
